package com.jingnen.guess_index_server.dto;

import com.fasterxml.jackson.annotation.JsonProperty;

import jakarta.validation.constraints.NotBlank;

public record RegisterDTO(
    @JsonProperty("username")
    @NotBlank String userName,

    @JsonProperty("password")
    @NotBlank String password
) {}
